# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Contributor: Bastien Dejean <nihilhill@gmail.com>

pkgname=xcb-util-cursor
pkgver=0.1.3
pkgrel=1
pkgdesc='XCB cursor library'
arch=('x86_64')
url='https://cgit.freedesktop.org/xcb/util-cursor'
license=('custom:MIT')
depends=('libxcb' 'xcb-util-renderutil' 'xcb-util-image')
#makedepends=('doxygen' 'xorg-util-macros' 'graphviz') # no docs yet to build
source=("https://xcb.freedesktop.org/dist/xcb-util-cursor-$pkgver.tar.bz2")
sha1sums=('26562eb6d4151307f7b6a53453d360ecfc0563ac')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

